
package com.insigma.business.qrcode.merchant._consumer.impl;


import com.insigma.business.qrcode.common.template.BasePagingResponse;
import com.insigma.business.qrcode.common.vo.BaseDeleteRequest;
import com.insigma.business.qrcode.common.vo.BaseResponse;
import com.insigma.business.qrcode.soldier.request.BaseGetRequest;
import com.insigma.business.qrcode.welfare.dto.CareWelfareMerchantStreetDTO;
import com.insigma.business.qrcode.merchant.dto.request.CareWelfareMerchantStreetInsertRequest;
import com.insigma.business.qrcode.merchant.dto.request.CareWelfareMerchantStreetSearchRequest;
import com.insigma.business.qrcode.merchant.dto.request.CareWelfareMerchantStreetUpdateRequest;
import com.insigma.business.qrcode.merchant._consumer.CareWelfareMerchantStreetConsumer;
import com.insigma.business.qrcode.merchant._provider.CareWelfareMerchantStreetProvider;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service("careWelfareMerchantStreetConsumer")
public class CareWelfareMerchantStreetConsumerImpl implements CareWelfareMerchantStreetConsumer {

    @Resource
    private CareWelfareMerchantStreetProvider careWelfareMerchantStreetProvider;

    
    @Override
    public BasePagingResponse<List<CareWelfareMerchantStreetDTO>> searchCareWelfareMerchantStreet(final CareWelfareMerchantStreetSearchRequest searchRequest) {
        return careWelfareMerchantStreetProvider.searchCareWelfareMerchantStreet(searchRequest);
    }

   
    @Override
    public BaseResponse<CareWelfareMerchantStreetDTO> getCareWelfareMerchantStreet(final BaseGetRequest baseGetRequest) {
        return careWelfareMerchantStreetProvider.getCareWelfareMerchantStreet(baseGetRequest);
    }

    
    @Override
    public BaseResponse<String> insertCareWelfareMerchantStreet(final CareWelfareMerchantStreetInsertRequest insertRequest) {
        return careWelfareMerchantStreetProvider.insertCareWelfareMerchantStreet(insertRequest);
    }

    
    @Override
    public BaseResponse<Integer> updateCareWelfareMerchantStreet(final CareWelfareMerchantStreetUpdateRequest updateRequest) {
        return careWelfareMerchantStreetProvider.updateCareWelfareMerchantStreet(updateRequest);
    }

    
    @Override
    public BaseResponse<Integer> deleteCareWelfareMerchantStreet(final BaseDeleteRequest deleteRequest) {
        return careWelfareMerchantStreetProvider.deleteCareWelfareMerchantStreet(deleteRequest);
    }

}
